package com.dhy.mapper;

import com.dhy.pojo.Department;
import com.dhy.query.BaseQuery;
import com.dhy.query.DepartmentQuery;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseMapper<T> {

    void insert(T t);

    void deleteById(Long id);

    void update(T t);

    T selectById(Long id);

    Long selectPageSize();

    List<T> selectLimit(BaseQuery baseQuery);

    List<T> selectAll();

    Long deleteByIds( List<Long> lists);
}
